﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AspDataGridSorting.aspx.cs"
    Inherits="_513X0018_web08.AspDataGridSorting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <h3>
        Repeater</h3>
    <form id="Form1" runat="server">
    <asp:DataGrid ID="DataGrid1" runat="server" HeaderStyle-BackColor="#cccc99" FooterStyle-BackColor="#cccc99"
        ItemStyle-BackColor="#ff00ff" AlternatingItemStyle-BackColor="#cccccc" DataKeyField="ProductID"
        AutoGenerateColumns="true" AllowSorting="true" OnSortCommand = "DataGrid1_Sort">
    </asp:DataGrid>
    </form>
</body>
</html>
